#include<iostream>
#include<cstdio>
#include<cmath>

using namespace std;

int main()
{
    double A, B, C, s, y, t, z, c;
    cin >> A >> B >> C;
    s = (1 / 2.0) * A * C;
    y = 3.14159 * pow(C, 2);
    t = (A + B) * C * (1 / 2.0);
    z = B * B;
    c = A * B;
    printf("TRIANGULO: %.3lf\nCIRCULO: %.3lf\nTRAPEZIO: %.3lf\nQUADRADO: %.3lf\nRETANGULO: %.3lf\n", s, y, t, z, c);
    return 0;
}